package org.flynenu.ums.logic.impl;

import junit.framework.TestCase;

import org.flynenu.ums.common.bean.BeansEnum;
import org.flynenu.ums.common.bean.BeansManager;
import org.flynenu.ums.logic.IPolice;

public class PoliceTest extends TestCase {

	IPolice police = (IPolice) BeansManager.instance().generateBean(BeansEnum.Police);
	
	public void testSurveyLogined() {
		boolean b = police.surveyLogined(1, "wwww");
		System.out.println("@@@@@out:" + b);
		assertFalse(b == true);
	}

	public void testSurveyUser() {
		boolean b = police.surveyUser(1);
		assertTrue(b == true);
	}

}
